<script lang="ts" setup>
import router from "@/router";
import { useMultiTagsStoreHook } from "@/store/modules/multiTags";
import { useRoute } from "vue-router";
const multiTagsStore = useMultiTagsStoreHook();
const route = useRoute();

const goBack = () => {
  multiTagsStore.handleTags("splice", route.path);
  router.back();
};
</script>
<template>
  <div class="wrapper-operation flex flex-row justify-between pb-[16px]">
      <p class="text-[16px] font-bold">物料明细</p>
      <el-button @click="goBack">
        <svg-icon name="rollback" size="16" />&nbsp;返回
      </el-button>
  </div>
</template>
